package ecmnext.business;

/***************************************************************/
/*                     SOFTWARE SECTION                        */
/***************************************************************/
/*
 * <p>Name: Jessx</p>
 * <p>Description: Simulation of the platform of trading Software</p>
 * <p>Licence: General Public License</p>
 * <p>Organisation: EC Marseille</p>
 * <p>Persons involved in the project : group Plateforme de Trading</p>
 * <p>Current version: 1.0</p>
 */

/***************************************************************/
/*                       IMPORT SECTION                        */
/***************************************************************/

import ecmnext.utils.*;
import org.jdom.*;

/***************************************************************/
/*                  Dividend CLASS SECTION                     */
/***************************************************************/
/**
 * <p>Title : Dividend</p>
 * <p>Description : </p>
 * @author Xuewen YANG ET Antoine COUDERC
 * @version 1.0
 */

public abstract class Dividend implements XmlLoadable, XmlExportable {
  public abstract float getDividend();

  public abstract void setParameter(int i, Object param);
  public abstract Object getParameter(int i);
  public abstract int getParamCount();
  public abstract String[] getParamNames();
  public abstract Class getParamClass(int i);
  public abstract float getNormalValue();
  public abstract String getDetails();

  public abstract void saveToXml(Element node);
  public abstract void loadFromXml(Element node);

  public abstract Object clone();
}
